package com.lemon.boot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lemon.boot.dto.NoticeCountDTO;
import com.lemon.boot.po.NoticePO;

import java.util.List;
import java.util.Map;

/**
 * 通知公告表数据访问层
 *
 * @author Lemon
 * @since 2024-02-29
 */
public interface NoticeDAO extends BaseMapper<NoticePO> {
    List<NoticePO> getByCurrent(Map<String, Object> param);

    Long getCountByCurrent(Map<String, Object> param);

    List<NoticeCountDTO> getCountByUserId(Map<String, Object> param);
}
